
// 登录顶端公共
.loginT {
    .loginTop {
        position: absolute;
        top: 0;
        height: 1.08rem;
        width: 100%;
        padding: 0.25rem 0.17rem;
        box-sizing: border-box;
        label {
            // 关闭按钮
            float: left;
            display: block;
            background: #b60108;
            width: 0.58rem;
            height: 0.58rem;
            border-radius: 0.3rem;
            text-align: center;
            line-height: 0.58rem;
            span {
                font-size: 0.48rem;
                font-weight: normal;
                color: #fff;
            }
        } // 搜索框
        .sousuotext {
            position: absolute;
            top: 0.25rem;
            right: 0.37rem;
            float: right;
            width: 4.84rem;
            height: 0.58rem;
            border: 1px solid #fff;
            border-radius: 0.3rem;
            padding-top: 0.01rem;
            overflow: hidden;
            i {
                display: block;
                font-size: 0.3rem;
                color: #fff;
                margin: 0.13rem 0 0 0.15rem;
                float: left;
            }
            input {
                display: block;
                padding-left: 0.3rem;
                line-height: 0.57rem;
                font-size: 0.3rem;
                border: none;
                background: #1e1e1e;
                color: #fff;
                float: left;
                width: 3rem;
            }
        }
    } // GIMC文章 
    .Graybar {
        height: 0.30rem;
        background: #2c2c2c;
    }
    .article {
        margin: 0 0.34rem;
        .libig {
            line-height: 1rem;
            color: #666;
            border-bottom: 1px solid #666;
            p {
                .but {
                    float: right;
                }
            }
            .lism {
                overflow: hidden;
                width: 100%;
                height: 0;
                li {
                    text-align: center;
                    color: #fff;
                    border-top: 1px solid #666;
                }
                li:last-child {
                    margin: 0 1rem;
                }
            }
        }
        .libig:last-child {
            border-bottom: none;
        }
        input {
            display: none;
        }
    }
}

/*弹出登录*/

.login {
    transform: translateX(-101%);
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #1e1e1e;
    transition: transform 0.5s;
    z-index: 3; // 登录头像
    .loginMain {
        width: 100%;
        position: absolute;
        top: 1.08rem;
        overflow-y: auto;
        .img {
            width: 1.30rem;
            height: 1.29rem;
            overflow: hidden;
            margin: 0.95rem auto 0;
            img {
                width: 100%;
            }
        }
        a {
            display: block;
            font-size: 0.3rem;
            color: #fff;
            text-align: center;
            margin-top: 0.26rem;
        }
        a:nth-child(3) {
            display: block;
            font-size: 0.25rem;
            color: #464646;
            margin-top: 0.12rem;
            text-decoration: underline;
            margin-bottom: 0.7rem;
        }
    }
}

/*弹出登录页效果*/

input:checked~.login {
    transform: translateX(0);
}

// 登录表单页面
.loginForm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    transform: translateY(+100%);
    transition: transform 0.2s;
    z-index: 3;
    .logo {
        width: 1.61rem;
        height: 1.36rem;
        margin: 1.9rem auto 0.49rem;
        overflow: hidden;
        img {
            width: 100%;
        }
    }
    .account,
    .password {
        width: 4.92rem;
        height: 0.53rem;
        margin: 0.27rem auto 0;
        background: #3d3d3d;
        vertical-align: middle;
        i {
            background: #303030;
            color: #ccc;
            font-size: 0.3rem;
            line-height: 0.53rem;
            padding: 0.11rem 0.16rem;
            vertical-align: middle;
        }
        input {
            width: 3rem;
            font-size: 0.2rem;
            color: #ccc;
            line-height: 0.5rem;
            border: none;
            background: #3d3d3d;
            margin-left: 0.39rem;
        }
    }
    p {
        color: #fff;
        overflow: hidden;
        span {
            float: right;
            margin-top: 0.29rem;
            margin-right: 0.82rem;
            font-size: 0.2rem;
            i {
                margin-right: 0.06rem;
                font-size: 0.2rem;
            }
        }
    }
    .button {
        width: 4.92rem;
        margin: 0.59rem auto 0;
        span {
            display: inline-block;
            width: 4.92rem;
            height: 0.53rem;
            line-height: 0.53rem;
            font-size: 0.2rem;
            color: #cdcdcd;
            border: 0.01rem solid #b60005;
            background: #b60005;
            letter-spacing: 0.05rem;
            text-align: center;
        }
        >span:last-child {
            background: #303030;
            margin-top: 0.15rem;
        }
    }
}

// 登录表单弹出效果
#loginForm:checked~.loginForm {
    transform: translateY(0);
}

// 弹出登录成功
.logined {
    transform: translateX(-100%);
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #1e1e1e;
    transition: transform 0.5s;
    z-index: 3;
    .informationMain {
        position: absolute;
        top: 1.08rem;
        overflow-y: auto;
        width: 100%;
        .informationBox {
            text-align: center;
            margin: auto;
            .imgId {
                width: 1.5rem;
                height: 1.5rem;
                overflow: hidden;
                margin: 0.35rem auto 0;
                position: relative;
                img {
                    width: 100%;
                }
            }
            .imgId::after {
                content: "1";
                width: 0.4rem;
                height: 0.4rem;
                background: #fb0300;
                display: block;
                border-radius: 2.5rem;
                position: absolute;
                top: 0;
                right: 0;
                color: #fff;
            }
            .nameInfor {
                font-size: 0;
                padding-top: 0.15rem;
                position: relative;
                span {
                    display: inline-block;
                    font-size: 0.3rem;
                    line-height: 0.3rem;
                    color: #fff;
                    vertical-align: middle;
                }
                a {
                    display: inline-block;
                    font-size: 0.15rem;
                    color: #fff;
                    border: 1px solid #fff;
                    padding: 0 0.1rem;
                    vertical-align: middle;
                    margin-left: 0.1rem;
                }
            }
            .icon {
                font-size: 0;
                i {
                    margin: 0.15rem 0.1rem;
                    color: #f5c412;
                }
            }
            p:nth-of-type(3) {
                margin-left: 0.35rem;
                span {
                    font-size: 0.3rem;
                    color: #fff;
                }
                .number {
                    font-size: 0.25rem;
                    color: #9b0a11;
                    margin-right: 0.25rem;
                    position: relative;
                }
                .number:nth-of-type(1)::after {
                    content: "";
                    width: 0.01rem;
                    height: 0.3rem;
                    background: #fff;
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0.42rem;
                }
            }
            button {
                width: 2.48rem;
                height: 0.6rem;
                border-radius: 0.25rem;
                background: #b70005;
                font-size: 0.25rem;
                color: #fff;
                margin: 0.2rem 0.11rem 0.30rem;
            }
            button:nth-of-type(2) {
                background: #cdcdcd;
            }
        }
    }
}

// 弹出登录成功的页面效果
.loginEd:checked~.logined {
    transform: translateX(0);
}

// 子菜单弹出效果
#lism:checked~.lism {
    height: 100%;
}

#lism:checked~p .but {
    transform: rotate(90deg);
}

#lism2:checked~.lism {
    height: 100%;
}

#lism2:checked~p .but {
    transform: rotate(90deg);
}

// 右搜索页面
.search {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateY(-100%);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #1e1e1e;
    transition: transform 0.2s;
    z-index: 3;
    .searchTop {
        // 搜索顶部
        width: 100%;
        height: 1rem;
        position: absolute;
        top: 0;
        .searchT-L {
            height: 0.6rem;
            border: 1px solid #fff;
            border-radius: 0.30rem;
            overflow: hidden;
            width: 5.15rem;
            float: left;
            margin: 0.21rem 0 0.21rem 0.17rem;
            i {
                display: block;
                margin: 0.15rem 0 0 0.15rem;
                color: #fff;
                font-size: 0.27rem;
                float: left;
            }
            input {
                float: left;
                border: none;
                height: 0.55rem;
                margin: 0.02rem 0 0 0.3rem;
                background: #1e1e1e;
                color: #fff;
                font-size: 0.27rem;
            }
        }
        .cancel-R {
            float: right;
            display: block;
            color: #fff;
            font-size: 0.27rem;
            margin: 0.33rem 0.17rem 0 0;
        }
    } // 搜索页身体
    .searchMain {
        position: absolute;
        top: 1rem;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        background: #f1f1f1;
        padding: 0 0.34rem;
        box-sizing: border-box;
        h2 {
            font-size: 0.27rem;
            font-weight: normal;
            margin: 0.35rem 0 0.15rem 0;
        }
        p {
            font-size: 0;
            line-height: 0.6rem;
            span {
                font-size: 0.27rem;
                color: #8d8d8d;
                padding: 0.14rem 0.18rem;
                border: 0.01rem solid #dbdbdb;
                margin-right: 0.05rem;
                background: #fff;
            }
        }
    }
}

#search:checked~.search {
    transform: translateY(0);
}